package com.travel.server.manager.dto.response.data;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author: LiZhenhui
 * @Date: 2018/12/14 18:57
 * @Desc:
 */
@Data
public class QueryTradeListResponse {

    @JSONField(name = "total_num")
    private Integer totalNum;

    @JSONField(name = "trade_list")
    private List<TradeItem> tradeList;

    @Data
    public static class TradeItem{

        private Integer id;

        @JSONField(name = "customer_name")
        private String customerName;

        @JSONField(name = "order_id")
        private String orderId;

        @JSONField(name = "order_desc")
        private String orderDesc;

        @JSONField(name = "order_amount")
        private String orderAmount;

        @JSONField(name = "pay_status")
        private String payStatus;

        @JSONField(name = "trade_date", format = "yyyy-MM-dd")
        private Date tradeDate;

        @JSONField(name = "trade_num")
        private String tradeNum;

        private String remark;
    }
}
